home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _208F9FBEB2FF4D8CBE840BA816F79BEB < prev    next >
Encoding:
Text File  |  2006-08-04  |  2.9 KB  |  86 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Jasc Software, Inc.',
  6.         'Copyright': 'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.10'
  10.         }
  11.  
  12. def MIPTemplate_Print():
  13.     return {
  14.         'PrintingOptions': {
  15.             'PrinterName': None, 
  16.             'Orientation': 0, 
  17.             'NumCopies': 1, 
  18.             'Negative': App.Constants.Boolean.false, 
  19.             'Background': App.Constants.Boolean.false, 
  20.             'BackgroundColor': (255,255,255), 
  21.             'OutputOption': 0, 
  22.             'CornerCropmarks': App.Constants.Boolean.false, 
  23.             'CenterCropmarks': App.Constants.Boolean.false, 
  24.             'RegistrationMarks': App.Constants.Boolean.false, 
  25.             'ImageLabels': App.Constants.Boolean.false, 
  26.             'Header': App.Constants.Boolean.false, 
  27.             'HeaderText': '', 
  28.             'Footer': App.Constants.Boolean.false, 
  29.             'FooterText': '', 
  30.             'CMYKLabels': App.Constants.Boolean.false, 
  31.             'PrintQuality': -2, 
  32.             'PaperSize': 1
  33.             }, 
  34.         'MIPCmdFile': '', 
  35.         'TemplateMetric': App.Constants.Boolean.false, 
  36.         'PageDimensions': (8.5,11), 
  37.         'TemplateCategory': 'Kombinationen', 
  38.         'TemplateDescription': 'Kombination aus (1) 12,7 x 17,8 cm und (4) 6,4 x 8,9 cm', 
  39.         'Template': [{
  40.             'CellPosition': (0.75,0.179378), 
  41.             'CellSize': (7,5), 
  42.             'ImagePlacement': 0, 
  43.             'ImagePath': '', 
  44.             'RotationAngle': 0, 
  45.             'ImagePosition': (0,0), 
  46.             'ImageSize': (0,0)
  47.             },{
  48.             'CellPosition': (0.75362,5.37708), 
  49.             'CellSize': (3.5,2.5), 
  50.             'ImagePlacement': 0, 
  51.             'ImagePath': '', 
  52.             'RotationAngle': 0, 
  53.             'ImagePosition': (0,0), 
  54.             'ImageSize': (0,0)
  55.             },{
  56.             'CellPosition': (4.44729,5.37453), 
  57.             'CellSize': (3.5,2.5), 
  58.             'ImagePlacement': 0, 
  59.             'ImagePath': '', 
  60.             'RotationAngle': 0, 
  61.             'ImagePosition': (0,0), 
  62.             'ImageSize': (0,0)
  63.             },{
  64.             'CellPosition': (0.753074,7.97926), 
  65.             'CellSize': (3.5,2.5), 
  66.             'ImagePlacement': 0, 
  67.             'ImagePath': '', 
  68.             'RotationAngle': 0, 
  69.             'ImagePosition': (0,0), 
  70.             'ImageSize': (0,0)
  71.             },{
  72.             'CellPosition': (4.44729,7.97926), 
  73.             'CellSize': (3.5,2.5), 
  74.             'ImagePlacement': 0, 
  75.             'ImagePath': '', 
  76.             'RotationAngle': 0, 
  77.             'ImagePosition': (0,0), 
  78.             'ImageSize': (0,0)
  79.             }]
  80.         }
  81.  
  82. def Do(Environment):
  83.     # Print_LOCALIZED
  84.     App.Do( Environment, 'Print',         MIPTemplate_Print())
  85.  
  86.